%{

%}
integer [0-9]+
real [0-9]*\.[0-9]+
string [a-zA-Z0-9]+
assign ":""="
neq "<"">"
le "<""="
ge ">""="
labracket "[""<"
rabracket ">""]"
singleSymbol [\41-\57\72-\100\133-\140\173-\176]
space \40
enter \n
%%
{integer} {return TOKEN_TYPE_INTEGER;}
{real} {return TOKEN_TYPE_REAL;}
{string} {return TOKEN_TYPE_STRING;}
{assign} {return ASSIGN;}
{neq} {return NEQ;}
{le} {return LE;}
{ge} {return GE;}
{labracket} {return LABRACKET;}
{rabracket} {return RABRACKET;}
{singleSymbol} {return TOKEN_TYPE_SINGLESYMBOL;}
{space} {return TOKEN_TYPE_SPACE;}
{enter} {return TOKEN_TYPE_ENTER;}
%%
int yywrap()
{
    return 1;
}
